class Person {
    constructor(name){
        this.name = name
    }

    eat(food){
        console.log(this, "is eating", food);
    }
}

class Student extends Person {
    constructor(name,zhuanye){
        // Person.call(this, name)
        super(name)
    }

    eat(food){
        console.log(this, "斯文地饕餮", food);
    }
}

const curry = new Student("库里", "扔三分")
curry.eat("牙套ES6")